func void dump ()  {
  int i, n, cnt;

  for (i = 0; i < EpTransCnt; i++)  {
 //   printf ("mem %x=%x\n", i+0x40000080, _rbyte (i+0x40000080));

    printf ("\n\n");
    printf ("Nr %2d ",     EpTrans[i].cnt);
    printf ("EP %02X ",    EpTrans[i].EpNum);
    printf ("dir %d ",     EpTrans[i].dir); 
    printf ("len %2d ",    EpTrans[i].len);
//    printf ("tim %4d ",    EpTrans[i].tim);
//    printf ("irqCnt %4d ", EpTrans[i].irq);
//    printf ("istr %04X ",  EpTrans[i].istr);
//    printf ("EPreg %04X",  EpTrans[i].EPreg);
    cnt = EpTrans[i].len;
    for (n = 0; n < cnt; n++) {
      if (n%16 == 0) printf ("\n"); 
      printf (" %02X", EpTrans[i].dat[n]); 
    }
  }
}


// use  'load <loadfile> nocode' to load symbols to a running system

// use 'log > <filename>' to log output from dump() to a file
// use 'dump()'           to dump contents of EpTrans[]
// use 'log off'          to switch of logging

  